package com.xx.happychatboot.serve.user.service;

import com.xx.happychatboot.base.vo.response.ResponseDate;
import com.xx.happychatboot.serve.user.domain.entity.SysUser;
import io.mybatis.service.BaseService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaoXuan
 * @since 2024-12-10
 */
public interface ISysUserService extends BaseService<SysUser,Long> {

    /**
     * 通过用户名获取用户信息
     * @param username
     * @return
     */
    SysUser loadUserByUsername(String username);

    /**
     * 注册
     * @param user
     * @return
     */
    ResponseDate register(SysUser user);
}
